import { from } from 'core-js/fn/array'
import { TOKEN } from './config'
import { setStorage, getStorage } from './core'

export const setToken = (token) => {
    setStorage(TOKEN, token)
}
export const getStorage = () => {
    return getStorage(TOKEN)
}